<template>
    <div>
        <van-search v-model="value" placeholder="请输入搜索关键词" input-align="center" />
        <van-tabs v-model:active="active">
            <van-tab title="精选">


                <van-swipe :autoplay="3000" lazy-render>
                    <van-swipe-item v-for="image in images" :key="image">
                        <img :src="image" style="width: 100%;height: 200px;" />
                        <img src="/Users/suoyiran/Desktop/未命名文件夹 2/a/src/views/img/1-02.gif" alt="">
                        <img src="/Users/suoyiran/Desktop/未命名文件夹 2/a/src/views/img/1-03.gif" alt="">
                        <img src="/Users/suoyiran/Desktop/未命名文件夹 2/a/src/views/img/1-04.gif" alt="">
                        <img src="/Users/suoyiran/Desktop/未命名文件夹 2/a/src/views/img/1.gif  " alt="">
                    </van-swipe-item>
                </van-swipe>

                <van-grid>
                    <van-grid-item icon="column" text="车型大全" />
                    <van-grid-item icon="ascending" text="排行榜" />
                    <van-grid-item icon="wechat-moments" text="车友圈" />
                    <van-grid-item icon="cart" text="二手车" />
                </van-grid>

                <van-card num="1" tag="热门车系" price="9.98万起" desc="9.98万起 查询底价" title="比亚迪 秦L DM-i"
                    thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" origin-price="15.99万" />
                <van-card num="1" tag="热门车系" price="21.59万起" desc="21.59万起 查询底价" title="小米SU7"
                    thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" origin-price="25.99万" />
                <van-card num="1" tag="热门车系" price="29.95万起" desc="29.95万起 查询底价" title="奥迪A6L"
                    thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" origin-price="32.99" />

                <div>
                    <p>华为比亚迪互卷,手上的是17万的宝马</p>

                </div>

            </van-tab>
            <van-tab title="本地">内容 2</van-tab>
            <van-tab title="新车">内容 3</van-tab>
            <van-tab title="原创">内容 4</van-tab>
            <van-tab title="视频看车">内容 4</van-tab>
            <van-tab title="导购">内容 4</van-tab>
            <van-tab title="行了">内容 4</van-tab>
            <van-tab title="后面没了">内容 4</van-tab>
        </van-tabs>
        <img src="/Users/suoyiran/Desktop/未命名文件夹 2/a/src/views/img/1-05.gif" alt="">
    </div>
</template>

<script setup>
const images = [
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-1.jpeg',
    'https://fastly.jsdelivr.net/npm/@vant/assets/apple-2.jpeg',
    '/Users/suoyiran/Desktop/未命名文件夹 2/a/src/views/img/1-02.gif'
];
</script>